<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	pageContext.setAttribute("ctx", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>XXXXXX系統 </title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h1 id="msg"></h1>
<script type="text/javascript">
	var i= 3,
	timeoutProc=function() {
		if(i>=0) {
			document.getElementById("msg").innerHTML = "會話超時，<b style='color:red'>"+i+"</b>秒后自動跳轉至登陸頁面...."
			setTimeout(timeoutProc, 1000);
			i--;
		}else{
			window.top.location.reload();
		}
	};
	timeoutProc();
</script>
</body>
</html>